package lab02.Test09;

import java.util.Scanner;

public class Test09 {
    public static void main(String[] args) {

        System.out.println("输入学生的学号、班号、姓名、性别、年龄：");
        Scanner in=new Scanner(System.in);
        Student s=new Student();
        s.setStudentId(in.next());
        s.setClassId(in.next());
        s.setSex(in.next());
        s.setName(in.next());
        s.setAge(in.nextInt());
        System.out.println(s.toString());

    }

}
